package com.ruoyi.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 课程学习记录对象 rm_courserecord
 * 
 * @author ruoyi
 * @date 2019-12-21
 */
public class RmCourserecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程记录ID */
    private Long id;

    /** 登录名称 */
    @Excel(name = "登录名称")
    private String loginName;

    /**用户名称*/
    @Excel(name = "用户名称")
    private String userName;

    /** 课程学习开始时间 */
    @Excel(name = "课程学习开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oprTime;

    /** 课程学习时长 */
    @Excel(name = "课程学习时长")
    private Integer studyTime;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String deptName;

    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setOprTime(Date oprTime) 
    {
        this.oprTime = oprTime;
    }

    public Date getOprTime() 
    {
        return oprTime;
    }
    public void setStudyTime(Integer studyTime) 
    {
        this.studyTime = studyTime;
    }

    public Integer getStudyTime() 
    {
        return studyTime;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loginName", getLoginName())
            .append("oprTime", getOprTime())
            .append("studyTime", getStudyTime())
            .append("courseId", getCourseId())
            .toString();
    }
}
